(0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.2ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.7ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.4ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "invoices" Fixture Insert (0.2ms) INSERT INTO "invoices" ("date", "created_at", "updated_at", "id") VALUES ('2014-01-01', '2014-01-01 19:43:12', '2014-01-01 19:43:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "invoices" ("date", "created_at", "updated_at", "id") VALUES ('2014-01-01', '2014-01-01 19:43:12', '2014-01-01 19:43:12', 298486374)  (4.1ms) commit transaction  (0.1ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.3ms) DELETE FROM "invoices";  (1.6ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) DELETE FROM "invoices";  (0.6ms) rollback transaction  (0.4ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.7ms) rollback transaction  (0.3ms) begin transaction ----------------- MyTest: test_fail -----------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------- MyTest: test_fail -----------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------- MyTest: test_fail -----------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction ----------------- MyTest: test_fail -----------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------- MyTest: test_hi_there ---------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction --------------------- MyTest: test_hi_there ---------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.5ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (9.0ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 12:45:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 12:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 12:47:00 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 12:47:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.8ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (20.2ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 12:57:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 12:57:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.6ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 12:58:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 12:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.8ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 12:59:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 12:59:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:07:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:07:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:07:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:08:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:08:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (2.4ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:09:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:09:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:09:59 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:09:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:10:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:10:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:11:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:11:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 16:12:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 16:12:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:42:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["updated_at", Thu, 02 Jan 2014 19:42:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:42:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:42:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.8ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:43:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:43:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:43:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:43:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:43:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.8ms) rollback transaction  (0.6ms) begin transaction  (0.3ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:43:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:44:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:44:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:44:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:44:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:45:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:45:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:45:47 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:45:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:46:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.0ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:46:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:46:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:47:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddNumberToInvoices (20140102125046)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "invoices" ADD "number" integer SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140102125046"]]  (3.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:47:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:47:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:47:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:47:50 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:48:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:48:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:48:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:48:19 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:49:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:49:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:49:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:49:41 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:50:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:50:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:50:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:50:35 UTC +00:00]]  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:50:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:50:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:50:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:50:51 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:53:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:53:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:53:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:53:56 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (10.2ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:54:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:54:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:54:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:54:37 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:55:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:55:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:55:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:55:11 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:55:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:55:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:55:43 UTC +00:00]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:57:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:57:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 19:57:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 19:57:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:06:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:06:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:06:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:06:22 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:07:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:07:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:07:04 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:07:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:07:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:07:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:07:25 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:09:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:09:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:09:40 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:10:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:10:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:10:14 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:10:27 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:10:27 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:10:27 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:15:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:15:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:15:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:15:11 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:16:18 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:16:18 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:16:18 UTC +00:00]]  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 02 Jan 2014 20:35:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 123], ["updated_at", Thu, 02 Jan 2014 20:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) rollback transaction  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:21:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:21:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:24:54 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:24:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (1.6ms) rollback transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:26:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) rollback transaction  (1.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) begin transaction  (0.1ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:28:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4933.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:28:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:28:19 UTC +00:00]] SQLite3::BusyException: database is locked: INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) rollback transaction  (1.9ms) rollback transaction  (0.4ms) begin transaction  (0.8ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:54:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:54:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.5ms) rollback transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:56:44 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:56:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (2.1ms) rollback transaction  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:57:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:57:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (1.9ms) rollback transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 08:59:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 08:59:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.0ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (1.8ms) rollback transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) begin transaction  (0.2ms) begin transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:00:23 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:00:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (1.7ms) rollback transaction  (0.9ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:53 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:53 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:02:05 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:02:05 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:02:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:02:17 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:05:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:05:25 UTC +00:00]]  (3.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:05:37 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:05:37 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:06:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:06:30 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:08:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:08:33 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:08:59 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:08:59 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:09:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:09:38 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:09:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:09:50 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:10:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:10:21 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:13:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:13:25 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.1ms) SELECT COUNT(*) FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (20.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:24:37 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:24:37 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (20.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:27:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:27:21 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (20.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:27:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:27:47 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (20.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:28:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:28:36 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (19.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:28:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:28:51 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (20.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:29:05 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:29:05 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:30:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:30:28 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:30:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:30:28 UTC +00:00]]  (1.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:31:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:31:15 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:31:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:31:15 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:32:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:32:02 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:32:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:32:02 UTC +00:00]]  (0.9ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:33:54 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:33:54 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:34:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:34:10 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:34:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:34:10 UTC +00:00]]  (2.4ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:35:00 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:35:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:35:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:35:43 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:35:43 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:35:43 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:36:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:36:35 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:36:35 UTC +00:00], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:36:35 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:37:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:37:24 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:37:24 UTC +00:00], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:37:24 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:41:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:41:33 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:41:33 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:41:33 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:42:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:42:24 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:42:24 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:42:24 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:42:37 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:42:37 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:42:37 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:42:37 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:42:54 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:42:54 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:42:54 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:42:54 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:43:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:43:49 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:43:49 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:43:49 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.5ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:49:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:49:41 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:53:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:53:35 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:53:35 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:53:35 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:54:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:54:10 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:54:10 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:54:10 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:54:18 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:54:18 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:54:18 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:54:18 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.5ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:54:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:54:41 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:54:41 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:54:41 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:58:33 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:59:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:59:04 UTC +00:00]]  (17.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:59:04 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:59:04 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:59:53 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:59:53 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 09:59:53 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 09:59:53 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:00:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:00:58 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 10:00:58 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 10:00:58 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" DESC LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:01:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:01:17 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 10:01:17 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 10:01:17 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" DESC LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:01:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:01:49 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 10:01:49 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 10:01:49 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 980190963]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" DESC LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:02:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:02:15 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 03 Jan 2014 10:02:15 UTC +00:00], ["updated_at", Fri, 03 Jan 2014 10:02:15 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" DESC LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.5ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:15:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:15:49 UTC +00:00]]  (16.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:16:11 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:16:11 UTC +00:00]]  (1.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:46:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:46:07 UTC +00:00]]  (3.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (1.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:46:59 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:46:59 UTC +00:00]]  (2.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:47:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:47:36 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:49:11 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:49:11 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:49:59 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:49:59 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 6], ["number", 123], ["updated_at", Fri, 03 Jan 2014 09:01:27 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 61], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.4ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:51:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:51:29 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 61], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:55:53 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:55:53 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 61], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:51:20 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 64], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.3ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:10 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 64], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:03 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 66], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:40 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 66], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:52 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:52 UTC +00:00]]  (6.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 66], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00]]  (2.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:57:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:57:20 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 66], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:56:34 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:58:57 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:58:57 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 10:58:57 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 70], ["number", 123], ["updated_at", Fri, 03 Jan 2014 10:58:57 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 71], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:04:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:04:06 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 71], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:03:57 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 73], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:07:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:07:49 UTC +00:00]]  (3.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 73], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00]]  (2.2ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:08:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:08:27 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 73], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:06:29 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:09 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 76], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:09 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 77], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:46 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 77], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:09:38 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 79], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:25 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 79], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:38 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 79], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:13:13 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 82], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:45 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 82], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:52 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:52 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 82], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:17:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:17:50 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 82], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:14:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.9ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:02 UTC +00:00]]  (3.2ms) commit transaction RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 86]]  (0.6ms) commit transaction  (2.0ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:12 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:12 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:12 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 87], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:12 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 87]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:40 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 88], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 88]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:43 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 89], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:43 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 89]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices"; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 90], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:55 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 90], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 90], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:30:51 UTC +00:00]]  (0.5ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:25 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:27 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:34:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:34:34 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:35:39 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:35:39 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:37:44 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:37:44 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:38:23 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:38:23 UTC +00:00]]  (3.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:39:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:39:06 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:39:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:39:29 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:49:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:49:35 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:33:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:49:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:49:48 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:49:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:49:48 UTC +00:00]] SQLite3::ConstraintException: PRIMARY KEY must be unique: INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) rollback transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:50:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:50:15 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 11:50:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["id", 1], ["number", 123], ["updated_at", Fri, 03 Jan 2014 11:50:15 UTC +00:00]] SQLite3::ConstraintException: PRIMARY KEY must be unique: INSERT INTO "invoices" ("created_at", "date", "id", "number", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:44:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:44:49 UTC +00:00]]  (3.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:44:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:44:49 UTC +00:00]]  (2.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:45:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:45:04 UTC +00:00]]  (2.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:45:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:45:04 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:47:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:47:31 UTC +00:00]]  (2.4ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:47:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:47:31 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.1ms) SELECT COUNT(*) FROM "invoices" Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  (0.1ms) begin transaction SQL (3.3ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 3]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 4]]  (0.5ms) commit transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:08 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:08 UTC +00:00]]  (2.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:08 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:08 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 5]]  (2.0ms) commit transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:14 UTC +00:00]]  (2.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:14 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.2ms) SELECT COUNT(*) FROM "invoices"  (0.2ms) SELECT COUNT(*) FROM "invoices" ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:20 UTC +00:00]]  (2.3ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:48:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:48:20 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices'; Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 6]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "invoices" WHERE "invoices"."id" = ? [["id", 7]]  (0.6ms) commit transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:49:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:49:14 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:49:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:49:32 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (2.3ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:50:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:50:46 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:51:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:51:21 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" ASC LIMIT 1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:01 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:01 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" ASC LIMIT 1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) rollback transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:19 UTC +00:00]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.1ms) rollback transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:40 UTC +00:00]]  (2.4ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" ASC LIMIT 1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:45 UTC +00:00]]  (2.3ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" ASC LIMIT 1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:45 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:49 UTC +00:00]]  (1.9ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" ORDER BY "invoices"."id" ASC LIMIT 1 Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:52:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:52:49 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.2ms) SELECT COUNT(*) FROM "invoices" ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:53:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:53:22 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:53:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:53:22 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 15:59:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 15:59:06 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:14 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:14 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:18 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:18 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:18 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:18 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:21 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:00:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:00:21 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:01:27 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:01:27 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:01:27 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:01:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:01:31 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:01:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:01:31 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:02 UTC +00:00]]  (16.1ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:41 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:41 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:45 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:45 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:50 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:10:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:10:50 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:12:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:12:15 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:12:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:12:15 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:21:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:21:16 UTC +00:00]]  (2.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 16:21:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 16:21:16 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140103172515)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140103172515"]]  (2.3ms) commit transaction Migrating to AddUserIdToInvoices (20140103172643)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "invoices" ADD "user_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140103172643"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) begin transaction  (0.2ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) rollback transaction ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:32:20 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) begin transaction  (0.1ms) begin transaction ----------------------- ForcepsTest: test_truth -----------------------  (0.1ms) SELECT COUNT(*) FROM "invoices"  (0.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) rollback transaction ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:24 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00]]  (2.3ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:33:45 UTC +00:00]]  (0.9ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:34:21 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:34:21 UTC +00:00]]  (2.3ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "invoices" Fixture Insert (0.1ms) INSERT INTO "invoices" ("date", "created_at", "updated_at", "id") VALUES ('2014-01-01', '2014-01-03 17:34:47', '2014-01-03 17:34:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "invoices" ("date", "created_at", "updated_at", "id") VALUES ('2014-01-01', '2014-01-03 17:34:47', '2014-01-03 17:34:47', 298486374)  (2.4ms) commit transaction ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (2.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:34:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:34:47 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "invoices" Fixture Insert (0.2ms) INSERT INTO "invoices" ("number", "date", "created_at", "updated_at", "id", "user_id") VALUES (1, '2014-01-01', '2014-01-03 17:38:17', '2014-01-03 17:38:17', 987942141, 922004269) Fixture Insert (0.1ms) INSERT INTO "invoices" ("number", "date", "created_at", "updated_at", "id", "user_id") VALUES (2, '2014-01-02', '2014-01-03 17:38:17', '2014-01-03 17:38:17', 602643785, 922004269) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Jorge', '2014-01-03 17:38:17', '2014-01-03 17:38:17', 922004269)  (1.8ms) commit transaction ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (2.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:38:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:38:17 UTC +00:00]]  (1.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 922004269]]  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 922004269]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:38:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:38:25 UTC +00:00]]  (2.4ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "invoices" Fixture Insert (0.1ms) INSERT INTO "invoices" ("number", "date", "created_at", "updated_at", "id", "user_id") VALUES (1, '2014-01-01', '2014-01-03 17:38:38', '2014-01-03 17:38:38', 987942141, 922004269) Fixture Insert (0.1ms) INSERT INTO "invoices" ("number", "date", "created_at", "updated_at", "id", "user_id") VALUES (2, '2014-01-02', '2014-01-03 17:38:38', '2014-01-03 17:38:38', 602643785, 922004269) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Jorge', '2014-01-03 17:38:38', '2014-01-03 17:38:38', 922004269)  (2.0ms) commit transaction ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (1.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:38:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:38:38 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 922004269]]  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 922004269]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:44:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:44:32 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:44:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:44:32 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:45:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:45:46 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:45:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:45:46 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:46:18 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:46:18 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:46:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:46:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:50:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:50:33 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:50:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:50:33 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:51:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:51:34 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:51:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:51:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:53:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:53:58 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:53:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:53:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:54:12 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:54:33 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:57:13 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:57:36 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["user_id", 1]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 17:58:11 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:09 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:22 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:08:29 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:25:06 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00]]  (2.2ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:49:46 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:50:35 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["user_id", 1]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:51:47 UTC +00:00]]  (0.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:51:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:51:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:51:48 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00]]  (0.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:52:47 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["user_id", 1]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:54:17 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:56:35 UTC +00:00]]  (0.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:56:47 UTC +00:00]]  (0.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:57:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 123], ["updated_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["user_id", 1]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 03 Jan 2014 18:57:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00]]  (3.5ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00]]  (5.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:12:24 UTC +00:00]]  (2.2ms) commit transaction Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:15:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:15:48 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:15:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:15:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:16:49 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:17:41 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:19:17 UTC +00:00]]  (0.7ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:20:24 UTC +00:00]]  (0.5ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:22:41 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:22:51 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:24:45 UTC +00:00]]  (0.7ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:07 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:07 UTC +00:00]]  (0.7ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:29 UTC +00:00]]  (0.6ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:25:33 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:26:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:26:48 UTC +00:00]]  (2.3ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:26:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:26:48 UTC +00:00]]  (0.8ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:02 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:27:43 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:28:21 UTC +00:00]]  (0.9ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:31:53 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 10:34:22 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (8.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:22:49 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:28:14 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:31:29 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLineItems (20140104145204)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" varchar(255), "product_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]  (2.3ms) commit transaction Migrating to CreateProducts (20140104145227)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20140104145227)  (0.0ms) begin transaction  (0.4ms) DROP TABLE "products" SQL (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145227'  (2.1ms) commit transaction Migrating to CreateLineItems (20140104145204)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "line_items" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145204'  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLineItems (20140104145204)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "product_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]  (3.0ms) commit transaction Migrating to CreateProducts (20140104145227)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00]]  (0.7ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:58:21 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:00 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00]]  (4.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:13 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 14:59:39 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20140104145227)  (0.1ms) begin transaction  (0.5ms) DROP TABLE "products" SQL (1.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145227'  (2.1ms) commit transaction Migrating to CreateLineItems (20140104145204)  (0.1ms) begin transaction  (0.2ms) DROP TABLE "line_items" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145204'  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateLineItems (20140104145204)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "product_id" integer, "invoice_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]  (2.2ms) commit transaction Migrating to CreateProducts (20140104145227)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20140104150906)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104150906"]]  (2.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20140104150906)  (0.0ms) begin transaction  (0.4ms) DROP TABLE "addresses" SQL (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104150906'  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20140104150906)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "country" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104150906"]]  (2.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ---------------------------------------------------------------------------- SimpleTest: test_should_download_a_record_with_'has_many'_associated_objects ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------ SimpleTest: test_should_download_a_single_record ------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:12:00 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; -------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_'has_many'_associated_objects --------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:13:43 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.6ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:17:22 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.1ms) begin transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:19:23 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:20:39 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:20:40 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:21:13 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:22:23 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (5.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:23:16 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:23:17 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:27:46 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:38 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:44 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:44 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:28:45 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:29:35 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["user_id", 1]]  (4.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:32:34 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:16 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:26 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:33:53 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (2.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:34:57 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["user_id", 1]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:38 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:35:43 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:36:04 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:39:19 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:07 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:42:51 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (24.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:43:52 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:44:12 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:44:28 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:46:10 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:47:06 UTC +00:00]]  (0.7ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:48:30 UTC +00:00]]  (0.7ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:49:29 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:53:07 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 15:59:55 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:00:12 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:03:26 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:03:43 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:05:26 UTC +00:00]]  (2.3ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:03 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:15 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:06:26 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:07:28 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:07 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:09:07 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:09:07 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:09:24 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:11:09 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:11:44 UTC +00:00]]  (0.5ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:12:43 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:14 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:34 UTC +00:00]]  (0.6ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:13:56 UTC +00:00]]  (0.8ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:14:46 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:02 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:11 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:25 UTC +00:00]]  (0.5ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00]]  (3.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:17:43 UTC +00:00]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:18:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:18:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:20:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:21:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:25:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["user_id", 1]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:26:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:28:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:29:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:31:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:33:02 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:33:21 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:38:36 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:39:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:23 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:40:23 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:40:23 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:40:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:43:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (5.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:46:21 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:47:09 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 16:47:11 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:02:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:55 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:02:55 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:02:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:02:55 UTC +00:00]]  (0.6ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:03:05 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:03:53 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:04:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:04:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:04:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:05:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:05:47 UTC +00:00]]  (2.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:06:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:06:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:08:52 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:09:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:06 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:10:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:12:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:12:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:13:34 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:14:39 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.1ms) begin transaction  (0.0ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (4.3ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction RemoteAddress Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."remote_user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [[nil, 1]] SQLite3::SQLException: no such column: addresses.remote_user_id: SELECT "addresses".* FROM "addresses" WHERE "addresses"."remote_user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:15:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.7ms) commit transaction RemoteAddress Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."remote_user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [[nil, 1]] SQLite3::SQLException: no such column: addresses.remote_user_id: SELECT "addresses".* FROM "addresses" WHERE "addresses"."remote_user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:16:52 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.6ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:20 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.8ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.6ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:18:45 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.9ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteUser Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:20:45 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteUser Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (3.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:16 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.8ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteUser Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:24 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction RemoteAddress Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:21:51 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:23:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:23:51 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------------------------------ SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_many' ------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_a_record_with_associated_objects_via_'has_one' -----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:30:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:31:28 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (3.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 17:31:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (7.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (7.2ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:21:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (0.7ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:41 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (0.7ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (0.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:34:48 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (0.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:35:20 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (21.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (1.8ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:36:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (5.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (22.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:36:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:36:44 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (21.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:37:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (21.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:41:40 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:41:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:41:40 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:41:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (22.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["date", Sat, 04 Jan 2014], ["number", 123], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 04 Jan 2014 21:41:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (23.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:17:37 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (3.3ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:20:22 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.0ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:20:56 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:21:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 05 Jan 2014 11:21:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00]]  (2.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00], ["date", Sun, 05 Jan 2014], ["number", 123], ["updated_at", Sun, 05 Jan 2014 11:22:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (13.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00], ["date", Tue, 07 Jan 2014], ["number", 123], ["updated_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00]]  (6.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00], ["date", Tue, 07 Jan 2014], ["number", 123], ["updated_at", Tue, 07 Jan 2014 15:28:49 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------- SimpleStructuresTest: test_should_download_a_single_record ----------------------------------------------------------  (0.1ms) begin transaction SQL (11.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Sun, 12 Jan 2014], ["number", 123], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Sun, 12 Jan 2014], ["number", 123], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ----------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_many'_association -----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Sun, 12 Jan 2014], ["number", 123], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- SimpleStructuresTest: test_should_download_object_with_'has_one'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["date", Sun, 12 Jan 2014], ["number", 123], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["street", "Uria"], ["updated_at", Sun, 12 Jan 2014 17:10:05 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (8.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many'_association ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (4.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one'_association ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:08:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many'_association ----------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one'_association ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:13:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (3.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many'_association ----------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; --------------------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one'_association ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 10:22:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:22:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:22:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (22.8ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:23:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (23.8ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (3.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (18.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (6.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (17.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (5.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (16.2ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (2.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:24:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:24:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (22.7ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (20.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (6.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (17.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (22.0ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:26:49 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (13.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (154.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (9.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (13.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:27:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (21.6ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:35:54 UTC +00:00]]  (0.9ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:36:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:49:44 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:49:53 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00], ["id", 1], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00], ["product_id", 1], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:50:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (24.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 10:52:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:00:34 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:00:34 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:00:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:00:34 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:00:55 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:00:55 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:00:56 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:00:56 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:00:56 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:00:56 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:01:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:02:09 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1 Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:02:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:03:15 UTC +00:00]]  (3.2ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "invoices" Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:03:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProductsTagsJoinTable (20140114111137)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "products_tags_join_table" ("product_id" integer, "tag_id" integer)  SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111137"]]  (2.9ms) commit transaction Migrating to CreateTags (20140114111219)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTags (20140114111219)  (0.0ms) begin transaction  (0.4ms) DROP TABLE "tags" SQL (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111219'  (2.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTags (20140114111219)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]  (2.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTags (20140114111219)  (0.0ms) begin transaction  (0.4ms) DROP TABLE "tags" SQL (1.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111219'  (2.4ms) commit transaction Migrating to CreateProductsTagsJoinTable (20140114111137)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "products_tags_join_table" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111137'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProductsTagsJoinTable (20140114111137)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "products_tags" ("product_id" integer, "tag_id" integer)  SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111137"]]  (2.2ms) commit transaction Migrating to CreateTags (20140114111219)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:30:27 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:33:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("remote_product_id", "remote_tag_id") VALUES (3, 1) SQLite3::SQLException: table products_tags has no column named remote_product_id: INSERT INTO "products_tags" ("remote_product_id", "remote_tag_id") VALUES (3, 1)  (0.0ms) rollback transaction  (2.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "remote_tag_id") VALUES (3, 1) SQLite3::SQLException: table products_tags has no column named remote_tag_id: INSERT INTO "products_tags" ("product_id", "remote_tag_id") VALUES (3, 1)  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:35:59 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (5.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:37:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:38:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:38:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["name", "tag 0"], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["name", "tag 1"], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:39:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (2.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (4, 2)  (0.0ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:54:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:54:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:43 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:43 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["user_id", 1]]  (24.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:54:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:54:59 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.2ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (1.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:55:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (1.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:56:02 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:56:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 11:56:25 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 11:57:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_obects_with_'has_and_belongs_to_many' -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 11:57:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:06:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (4.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:06:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:25:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:25:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:26:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (2.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:26:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:21 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:27:21 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:27:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:27:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (2.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:27 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:28:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.1ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:29:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:29:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:55 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:43:55 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:43:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (2.3ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:43:56 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (17.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (4.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["tag_id", 1]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:47:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:47:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:49:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.0ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:49:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:50:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 2)  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:26 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:26 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:26 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:52:27 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["date", Tue, 14 Jan 2014], ["number", 123], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 14 Jan 2014 12:52:37 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (22.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 14 Jan 2014 12:52:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (8.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00]]  (4.2ms) commit transaction  (0.1ms) begin transaction SQL (1.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:26:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (6.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.7ms) DELETE FROM "products";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:26:21 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:15 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_instead_of_reusing_it ----------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:34:55 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:29 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (6.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 0 LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:38:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:41:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:43:21 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["id", 123456], ["name", "MB Air"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["id", 123456], ["name", "MB Air"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:43:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:09 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (11.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:45:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.8ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:46:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.2ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (8.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (8.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (4.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.8ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:21 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (5.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.8ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:47:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:27 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:48:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.8ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:31 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.8ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:52:42 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:25 UTC +00:00]]  (0.9ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:53:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:54:12 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 09:57:59 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (4.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.8ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:00:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:18 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:03:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:03:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["street", "Uria"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["street", "Uria"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["date", Wed, 15 Jan 2014], ["number", 123], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "product 0"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "product 1"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "product 0"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "product 1"], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (11.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (11.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00], ["updated_at", Wed, 15 Jan 2014 10:05:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (12.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (4.4ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (5.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (5.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:48:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (26.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (5.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.3ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (22.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (5.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (8.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (1.8ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.8ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.8ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.3ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:49:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.8ms) commit transaction Tag Exists (0.3ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (3.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (21.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (7.1ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (2.5ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (1.0ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (1.1ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (1.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (2.4ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:49:35.342180', "updated_at" = '2014-01-16 10:49:35.342180' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.0ms) DELETE FROM "products_tags";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (4.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (3.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:49:35 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (1.1ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:49:35.441450', "updated_at" = '2014-01-16 10:49:35.441450' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (4.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (1.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:58:18.388155', "updated_at" = '2014-01-16 10:58:18.388155' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (4.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (18.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:58:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.9ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:58:18.488725', "updated_at" = '2014-01-16 10:58:18.488725' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:59:55.562728', "updated_at" = '2014-01-16 10:59:55.562728' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (24.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 10:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 10:59:55.633653', "updated_at" = '2014-01-16 10:59:55.633653' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.4ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:00:06 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (18.3ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:00:07.380460', "updated_at" = '2014-01-16 11:00:07.380460' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (28.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:00:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:00:07.459930', "updated_at" = '2014-01-16 11:00:07.459930' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.4ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.1ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (4.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (1.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.3ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (1.6ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.5ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'products';  (1.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.8ms) commit transaction  (1.6ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.9ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:01:52.870681', "updated_at" = '2014-01-16 11:01:52.870681' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (17.4ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:01:53 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (1.0ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:01:53.003981', "updated_at" = '2014-01-16 11:01:53.003981' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (2.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.7ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (2.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (4.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:18:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (5.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:18:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (22.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (21.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (8.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:19:20.823141', "updated_at" = '2014-01-16 11:19:20.823141' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (17.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:19:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.9ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:19:20.930511', "updated_at" = '2014-01-16 11:19:20.930511' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (26.9ms) DELETE FROM sqlite_sequence where name = 'products';  (2.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:21:24.979403', "updated_at" = '2014-01-16 11:21:24.979403' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (18.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:21:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:21:25.083395', "updated_at" = '2014-01-16 11:21:25.083395' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (1.2ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.9ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:24:16.633036', "updated_at" = '2014-01-16 11:24:16.633036' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (5.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (17.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:24:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:24:16.744692', "updated_at" = '2014-01-16 11:24:16.744692' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:09 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.7ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (2.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (18.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (11.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.0ms) begin transaction  (2.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.7ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (3.0ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (1.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (1.0ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:33:10.746303', "updated_at" = '2014-01-16 11:33:10.746303' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'products';  (40.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:33:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (3.0ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:33:10.852136', "updated_at" = '2014-01-16 11:33:10.852136' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:36:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.8ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (1.0ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:36:33.136538', "updated_at" = '2014-01-16 11:36:33.136538' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (2.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (12.3ms) DELETE FROM sqlite_sequence where name = 'products';  (7.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:36:33 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (1.1ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:36:33.226809', "updated_at" = '2014-01-16 11:36:33.226809' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (2.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.8ms) commit transaction  (0.7ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:42:38.223925', "updated_at" = '2014-01-16 11:42:38.223925' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:42:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:42:38.292965', "updated_at" = '2014-01-16 11:42:38.292965' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (7.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:43:12.830997', "updated_at" = '2014-01-16 11:43:12.830997' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (18.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:43:12 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.8ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:43:12.924769', "updated_at" = '2014-01-16 11:43:12.924769' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------------------- ExcludeAssociatedRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ----------------------------------------------------------------------------------------------  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:57:40.933139', "updated_at" = '2014-01-16 11:57:40.933139' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (3.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (18.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (5.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 11:57:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 11:57:41.030125', "updated_at" = '2014-01-16 11:57:41.030125' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:20:59 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:20:59 UTC +00:00]]  (9.5ms) commit transaction  (15.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:21:19 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:21:19 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:21:19 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:21:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:21:39 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:21:39 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:21:39 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:21:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:27:17 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:27:17 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:27:17 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 12:27:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (27.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (5.2ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 12:27:39.934516', "updated_at" = '2014-01-16 12:27:39.934516' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 12:27:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 12:27:39.982091', "updated_at" = '2014-01-16 12:27:39.982091' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00]]  (19.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["user_id", 1]]  (2.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:59:23 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 12:59:40 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 13:01:25 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.6ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.9ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (17.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (5.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 13:01:26.324097', "updated_at" = '2014-01-16 13:01:26.324097' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 13:01:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1 SQL (0.7ms) UPDATE "products" SET "name" = 'MBP', "price" = 2000, "created_at" = '2014-01-16 13:01:26.366869', "updated_at" = '2014-01-16 13:01:26.366869' WHERE "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (2.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (19.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (7.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:04:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (2.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (4.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (11.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (6.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:05:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:25:33 UTC +00:00]]  (21.9ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:44 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:26:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (24.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:26:51 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (26.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:00 UTC +00:00]]  (0.5ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (3.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.7ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:01 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (24.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (8.3ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:46 UTC +00:00]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:57 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (25.1ms) DELETE FROM sqlite_sequence where name = 'users';  (6.3ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:33:58 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.5ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (18.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (5.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (18.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (3.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (3.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:12 UTC +00:00]]  (0.6ms) commit transaction  (1.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.6ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:35 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (22.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (7.0ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (1.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 14:34:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (10.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (3.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (4.3ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (4.2ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (3.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.2ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (29.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (8.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:16:07 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.2ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:16:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (8.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (4.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (25.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:57:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.6ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 15:57:52 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (15.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (3.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (4.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["user_id", 1]]  (5.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:13:45 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (24.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (7.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:13:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (2.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (15.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (3.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:14:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:39 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (19.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:17:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "invoices" SET "user_id" = ? WHERE "invoices"."id" = 1 [["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) UPDATE "invoices" SET "user_id" = ?, "updated_at" = ? WHERE "invoices"."id" = 1 [["user_id", 1], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "invoices" SET "user_id" = ?, "updated_at" = ? WHERE "invoices"."id" = 2 [["user_id", 1], ["updated_at", Thu, 16 Jan 2014 16:41:47 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "addresses" SET "user_id" = ?, "updated_at" = ? WHERE "addresses"."id" = 1 [["user_id", 1], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.5ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (10.2ms) DELETE FROM sqlite_sequence where name = 'users';  (10.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "quantity", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "quantity", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123456]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "quantity", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 16:41:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123456]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (8.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (4.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (4.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (4.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (3.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (2.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (1.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (26.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123457], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (5.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (4.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (4.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]] Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:14:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (3.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:57 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (4.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (20.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (6.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:15:58 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (1.9ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (26.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (3.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 17:16:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.2ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 16 Jan 2014], ["number", 123], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "product 0"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "product 1"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["street", "Uria"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (18.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00], ["updated_at", Thu, 16 Jan 2014 18:01:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (5.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (4.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:39:43 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (16.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (10.3ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (1.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:39:44 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 0]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "invoices" SET "user_id" = ? WHERE "invoices"."id" = 1 [["user_id", nil]]  (0.7ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.9ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 0]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "addresses" SET "user_id" = ? WHERE "addresses"."id" = 1 [["user_id", nil]]  (0.6ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (27.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "invoice_id", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["invoice_id", 0], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "invoice_id" = ? WHERE "line_items"."id" = 1 [["invoice_id", nil]]  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "invoice_id", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["invoice_id", 0], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "invoice_id" = ? WHERE "line_items"."id" = 1 [["invoice_id", nil]]  (0.8ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "invoice_id", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["invoice_id", 0], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:56:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "invoice_id" = ? WHERE "line_items"."id" = 1 [["invoice_id", nil]]  (0.5ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:57:16 UTC +00:00], ["user_id", 1]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (4.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (18.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 08:57:17 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]] [35m (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (3.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 09:46:13 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (3.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (16.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (5.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 09:46:14 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (2.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:05:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (2.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (26.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:05:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (20.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (2.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (5.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (23.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (6.1ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 10:50:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddTypeToProducts (20140117112556)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "products" ADD "type" varchar(255) SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140117112556"]]  (2.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:33:18 UTC +00:00]]  (0.8ms) commit transaction Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:33:44 UTC +00:00]]  (0.7ms) commit transaction Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:34:03 UTC +00:00]]  (0.7ms) commit transaction Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car')  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:35:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:35:08 UTC +00:00]]  (0.7ms) commit transaction Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:35:21 UTC +00:00]]  (1.0ms) commit transaction Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car')  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:36:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:36:54 UTC +00:00]]  (0.9ms) commit transaction RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar') Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:39:20 UTC +00:00]]  (0.9ms) commit transaction Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar') Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:49 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:39:49 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:39:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:39:49 UTC +00:00]]  (0.8ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00]]  (0.7ms) commit transaction RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar') Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:41:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:41:50 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:43:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:43:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:44:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:44:55 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:45:11 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Fri, 17 Jan 2014 11:45:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:46:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:46:41 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:46:55 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:47:17 UTC +00:00]]  (0.8ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:47:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:53:18 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (2.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:53:54 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Car Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:53:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:54:52 UTC +00:00]]  (0.8ms) commit transaction RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar')  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:55:05 UTC +00:00]]  (0.7ms) commit transaction RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar') Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car')  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00], ["name", "audi"], ["type", "RemoteCar"], ["updated_at", Fri, 17 Jan 2014 11:55:15 UTC +00:00]]  (0.9ms) commit transaction RemoteCar Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteCar', 'Forceps::Remote::RemoteCar') Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car')  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:58 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:55:58 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:55:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:55:58 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:56:54 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:56:59 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Forceps::Remote::Car')  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:58:03 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products"  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00]]  (1.0ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:58:23 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:58:34 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00]]  (4.1ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:58:48 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00]]  (2.0ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:59:03 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:59:22 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:59:45 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:54 UTC +00:00]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (5.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (20.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 11:59:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (3.1ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (2.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (19.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:20 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 123456]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["type", "RemoteProduct"]]  (0.5ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 123456]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 12:00:21 UTC +00:00], ["type", "RemoteProduct"]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 123456]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.4ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:46 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:00:58 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:01:36 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:01:48 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') AND "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:02:04 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" Car Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('Car', 'Forceps::Remote::Car') Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:02:28 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:02:34 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (2.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:03:41 UTC +00:00]]  (0.8ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00]]  (2.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (2.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:09 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_tag_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.remote_tag_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_tag_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:35 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:04:36 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."tag_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 1]] SQLite3::SQLException: no such column: line_items.tag_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."tag_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.0ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (3.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.1ms) commit transaction RemoteLineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction RemoteProduct Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:05:19 UTC +00:00]]  (1.0ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.4ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (3.1ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (1.0ms) commit transaction  (0.2ms) begin transaction  (2.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:06:27 UTC +00:00]]  (1.4ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (11.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (1.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:08:16 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.5ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (10.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.2ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (2.0ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.8ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (1.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.3ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (2.0ms) commit transaction SQL (2.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (1.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) begin transaction  (0.2ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["user_id", 1]]  (1.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:33 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) begin transaction SQL (0.9ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (1.0ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction RemoteProduct Load (0.8ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:11:34 UTC +00:00]]  (1.0ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.4ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.6ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.5ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (10.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (3.3ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) begin transaction SQL (1.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (3.3ms) commit transaction Forceps::Remote::LineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.2ms) begin transaction  (0.2ms) commit transaction Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (2.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.0ms) commit transaction SQL (1.5ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.0ms) commit transaction LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.3ms) commit transaction  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction  (0.2ms) commit transaction Forceps::Remote::Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (5.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (4.5ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (1.6ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:12:17 UTC +00:00], ["user_id", 1]]  (2.4ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.2ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.1ms) commit transaction RemoteLineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 3)  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:18 UTC +00:00]]  (1.0ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 4 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 4)  (1.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products"  (1.6ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (10.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (3.4ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.2ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (1.3ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (2.7ms) commit transaction SQL (1.5ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 12:12:32 UTC +00:00]]  (1.1ms) commit transaction LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (16.8ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (5.9ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (1.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.3ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.2ms) commit transaction Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.6ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (1.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.5ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (45.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.2ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (1.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["user_id", 1]]  (1.0ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction RemoteProduct Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:33 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.5ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.6ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (2.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.2ms) commit transaction  (0.1ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.4ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.2ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.3ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:12:45 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.6ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (10.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (2.5ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (3.2ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (1.4ms) commit transaction  (0.1ms) begin transaction  (1.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.2ms) commit transaction  (0.2ms) begin transaction  (1.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.2ms) commit transaction  (0.1ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:20:05 UTC +00:00]]  (1.1ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.7ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.5ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.5ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.7ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (11.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.8ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (3.2ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (1.1ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:22:51 UTC +00:00]]  (1.1ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.5ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.5ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (12.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (2.4ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.4ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.2ms) commit transaction  (0.2ms) begin transaction SQL (1.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (1.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.2ms) commit transaction  (0.2ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (1.2ms) commit transaction RemoteLineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction RemoteProduct Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.5ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:24:42 UTC +00:00]]  (1.3ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.5ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction RemoteProduct Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 3]]  (0.1ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (3, 1)  (1.0ms) commit transaction Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 3]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (3, 2)  (1.0ms) commit transaction Tag Exists (0.3ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 3 LIMIT 1 [["product_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 3 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (1.1ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.4ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (1.1ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products"  (0.2ms) SELECT COUNT(*) FROM "tags"  (2.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.5ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (16.1ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (4.5ms) DELETE FROM "tags";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:25:50 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:25:50 UTC +00:00]]  (2.8ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:25:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:25:50 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (1.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:25:51 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:25:51 UTC +00:00]]  (1.3ms) commit transaction SQL (1.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:25:51 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:25:51 UTC +00:00]]  (1.1ms) commit transaction SQL (1.7ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (3.2ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (1.2ms) commit transaction SQL (1.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (1.1ms) commit transaction SQL (1.5ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.1ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.3ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (1.3ms) commit transaction LineItem Load (0.4ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:26:04 UTC +00:00]]  (1.0ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.9ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products"  (0.2ms) SELECT COUNT(*) FROM "tags"  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (10.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:26:25 UTC +00:00]]  (3.2ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:26:25 UTC +00:00]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.6ms) DELETE FROM "products_tags";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.6ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:46 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:26:46 UTC +00:00]]  (2.7ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00]]  (1.1ms) commit transaction SQL (1.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.3ms) begin transaction SQL (1.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00]]  (1.0ms) commit transaction SQL (1.5ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.2ms) begin transaction  (1.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.2ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.6ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00]]  (1.1ms) commit transaction LineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (1.1ms) commit transaction  (0.3ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:26:47 UTC +00:00]]  (1.2ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (1.0ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "products"  (0.4ms) SELECT COUNT(*) FROM "tags"  (1.6ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.4ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (10.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (3.3ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (3.2ms) commit transaction SQL (1.7ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.2ms) begin transaction SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (1.1ms) commit transaction SQL (1.5ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.1ms) begin transaction  (1.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.7ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.2ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (1.1ms) commit transaction LineItem Load (0.5ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 12:27:38 UTC +00:00]]  (1.2ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (1.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "products"  (0.2ms) SELECT COUNT(*) FROM "tags"  (1.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.4ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.4ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (7.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (2.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (25.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:09:04 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (20.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (1.1ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:09:28 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.1ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (1.2ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (21.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.8ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Product' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "product 0"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.5ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00], ["name", "product 1"], ["type", "Product"], ["updated_at", Fri, 17 Jan 2014 14:10:15 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (1, 2)  (0.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (17.2ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (21.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (5.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (2.6ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'RemoteProduct' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'RemoteProduct' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 3 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 3)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:10:54 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] RemoteTag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 4]]  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.1ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (20.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (3.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 14:15:04 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.8ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (7.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (4.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (15.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:25 UTC +00:00]]  (0.7ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.4ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["type", "RemoteProduct"]]  (0.6ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.7ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["type", "RemoteProduct"]]  (0.6ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:16:26 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (10.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.6ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (22.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (3.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.5ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (6.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (25.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (7.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:05 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["type", "RemoteProduct"]]  (0.5ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.5ms) commit transaction RemoteProduct Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["type", "RemoteProduct"]]  (0.8ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:35:06 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteTag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (2.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (22.3ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:36:01 UTC +00:00]]  (2.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["type", "RemoteProduct"]]  (0.5ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ?, "type" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["type", "RemoteProduct"]]  (0.6ms) commit transaction RemoteLineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:02 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction RemoteTag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:36:37 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.8ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:37:50 UTC +00:00]]  (0.8ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:38:36 UTC +00:00]]  (0.8ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (2.2ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (0.8ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:39:12 UTC +00:00]]  (0.7ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:23 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:41:36 UTC +00:00]]  (0.7ms) commit transaction RemoteTag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.9ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products"  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (3.0ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:41:51 UTC +00:00]]  (0.7ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:42:42 UTC +00:00]]  (0.7ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [[nil, 123456]] SQLite3::SQLException: no such column: line_items.remote_product_id: SELECT "line_items".* FROM "line_items" WHERE "line_items"."remote_product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (1.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:43:48 UTC +00:00]]  (0.8ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (1.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:44:32 UTC +00:00]]  (0.7ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (0.6ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:06 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (5.4ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (0.8ms) commit transaction RemoteLineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:45:55 UTC +00:00]]  (0.6ms) commit transaction RemoteProduct Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00]]  (1.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 14:46:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (4.3ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Fri, 17 Jan 2014], ["number", 123], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.8ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:36 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (21.2ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00], ["updated_at", Fri, 17 Jan 2014 14:46:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (10.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:47 UTC +00:00]]  (2.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (1.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "product 0"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "product 1"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (23.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (8.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (6.0ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 11:09:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (1.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (15.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (3.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (2.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (3.9ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:51:10 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (2.1ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 3 [["product_id", 123457]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:52:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 3 [["product_id", 123457]]  (0.5ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]] LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1 [["product_id", 123457]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:52:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (2.2ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:53:04 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.9ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:53:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:53:26 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (1.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:55:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (2.1ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 12:57:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.9ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (12.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 12:57:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 456 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (2.1ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:00:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (2.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:00:24 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (17.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (22.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (6.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:00:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (8.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (21.4ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (7.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:35:54 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (2.0ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.3ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:36:12 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 2 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 456], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["product_id", 123456], ["quantity", 123], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:36:37 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 123 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00]]  (2.4ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:37:52 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:37:53 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (15.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (1.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 13:53:57 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:54:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:54:03 UTC +00:00]]  (2.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:54:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:54:30 UTC +00:00]]  (2.0ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:54:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:54:45 UTC +00:00]]  (2.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:55:05 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:55:05 UTC +00:00]]  (2.0ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:55:23 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:55:23 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 123456]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:55:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:55:51 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:55:51 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:55:51 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:57:15 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:57:15 UTC +00:00]]  (2.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:57:15 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 13:57:15 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:58:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:58:51 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 13:59:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 13:59:13 UTC +00:00]]  (1.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:00:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:00:14 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:00:14 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:00:14 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:01:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:01:03 UTC +00:00]]  (2.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:01:03 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:01:03 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:01:59 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:01:59 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:01:59 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:01:59 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:02:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:02:07 UTC +00:00]]  (2.2ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:02:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:02:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:02:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:02:16 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:02:16 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:02:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:06:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:06:35 UTC +00:00]]  (2.4ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:06:35 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:06:35 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:06:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:06:50 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:06:50 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:06:50 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:07:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:07:20 UTC +00:00]]  (2.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:07:20 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:07:20 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:07:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:07:39 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:07:39 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:07:39 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:10:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:10:31 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:10:31 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:10:31 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:14 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:11:14 UTC +00:00]]  (2.4ms) commit transaction SQL (1.1ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:14 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:11:14 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:21 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:11:21 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:21 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:11:21 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:33 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:11:33 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:11:33 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:11:33 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:12:03 UTC +00:00]]  (0.7ms) commit transaction SQL (1.1ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:03 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:12:03 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:13 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:12:13 UTC +00:00]]  (2.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:13 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:12:13 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:23 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:12:23 UTC +00:00]]  (2.4ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:23 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:12:23 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:12:35 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:35 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:12:35 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:12:49 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:12:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:12:49 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:58:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:58:38 UTC +00:00]]  (3.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:58:38 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:58:38 UTC +00:00]]  (2.3ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:58:49 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:58:49 UTC +00:00]]  (2.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:58:49 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:58:49 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:59:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:59:10 UTC +00:00]]  (1.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:59:10 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:59:10 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:59:27 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 14:59:27 UTC +00:00]]  (2.1ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 14:59:27 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 14:59:27 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (7.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:47:50 UTC +00:00]]  (19.5ms) commit transaction SQL (6.5ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (2.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.8ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.5ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (20.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.8ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (19.2ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (11.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.5ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (16.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:47:51 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (1.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (21.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.7ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.8ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (23.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.8ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (1.1ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:25 UTC +00:00]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00]]  (0.8ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:45 UTC +00:00]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (26.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.6ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:48:46 UTC +00:00]]  (0.4ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (2.1ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices"; [36m (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Mon, 20 Jan 2014], ["number", 123], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.4ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.1ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "product 0"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "product 1"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (2.8ms) commit transaction Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (22.1ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["street", "Uria"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (3.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 16:49:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00], ["updated_at", Mon, 20 Jan 2014 16:49:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (7.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (3.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (2.7ms) commit transaction Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.6ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Tue, 21 Jan 2014 11:36:34 UTC +00:00]]  (0.8ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Tue, 21 Jan 2014], ["number", 123], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (3.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "product 0"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "product 1"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (26.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (10.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["street", "Uria"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (19.4ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "Jorge"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (1.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00], ["updated_at", Tue, 21 Jan 2014 11:36:35 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (7.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (4.2ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (4.9ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.3ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.5ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (2.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 00:38:00 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.8ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (16.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (6.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (1.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.4ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:38:01 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.2ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (2.1ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.3ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (28.3ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.3ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:53:50 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.8ms) commit transaction SQL (1.1ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.8ms) commit transaction SQL (4.5ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:53:51 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (2.0ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.2ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (3.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.0ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (24.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (9.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (33.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:54:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (26.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:31 UTC +00:00]]  (2.2ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:31 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:56:31 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Forceps::Remote::Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (2.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (23.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (4.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (4.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.3ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction SQL (2.3ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:56:32 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (26.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (2.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'RemoteCar' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (2.9ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (22.2ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (8.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (6.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (0.7ms) commit transaction SQL (1.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:57:19 UTC +00:00]]  (2.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.8ms) commit transaction SQL (1.3ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:57:20 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (26.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (2.2ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (20.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (2.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (10.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (16.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (5.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (3.4ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (33.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 00:59:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (27.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:02 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:02 UTC +00:00]]  (2.1ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:02 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 01:00:02 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (16.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (2.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (21.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (6.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:03 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.9ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (2.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:57 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (25.1ms) DELETE FROM sqlite_sequence where name = 'users';  (7.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 01:00:58 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (13.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (2.2ms) commit transaction Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (1.3ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.9ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (2.0ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (3.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (23.2ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (6.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 09:51:07 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 09:51:08 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (39.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:39 UTC +00:00]]  (3.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (2.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.2ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.9ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (19.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (7.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (6.3ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:48:40 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (2.1ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (22.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (1.3ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:49:38 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:49:39 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (2.5ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.9ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (23.8ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 17:50:31 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (28.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (1.2ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (1.2ms) commit transaction SQL (2.1ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00], ["updated_at", Fri, 24 Jan 2014 17:50:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (3.4ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (1.0ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 17:53:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 17:55:44 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (2.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.9ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (1.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 17:55:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.3ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (2.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["street", "Uria"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["date", Fri, 24 Jan 2014], ["number", 123], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "Jorge"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "product 0"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (3.9ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00], ["name", "product 1"], ["updated_at", Fri, 24 Jan 2014 18:28:43 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:16 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:11:16 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 1  (1.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:34 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:11:34 UTC +00:00]]  (0.8ms) commit transaction SQL (1.1ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (6.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (8.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (2.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (4.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (3.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 11:11:49 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:18 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (4.4ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 11:12:19 UTC +00:00]]  (2.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (3.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (4.2ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:12:22 UTC +00:00]]  (2.0ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:12:42 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:12:42 UTC +00:00]]  (2.0ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:13:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:13:28 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:13:44 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:13:44 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:16:25 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:16:25 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:16:49 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:16:49 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (16.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:17:15 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:17:15 UTC +00:00]]  (88.2ms) commit transaction SQL (77.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (96.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (95.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (111.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (111.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (49.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (17.3ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (5.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (25.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:17:36 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:17:36 UTC +00:00]]  (2.2ms) commit transaction SQL (1.2ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:18:16 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:18:16 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:18:44 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:18:44 UTC +00:00]]  (2.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:18:55 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:18:55 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 11:19:08 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 11:19:08 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:32:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:32:48 UTC +00:00]]  (0.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:34:49 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:34:49 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (3.1ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:38:34 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:38:34 UTC +00:00]]  (2.2ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (2.0ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (9.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:55:40 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:55:40 UTC +00:00]]  (0.9ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (3.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:56:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:56:00 UTC +00:00]]  (2.5ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (2.7ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 14:59:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 14:59:00 UTC +00:00]]  (2.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1 --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (11.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 15:54:09 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 15:54:09 UTC +00:00]]  (3.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (3.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 15:56:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 15:56:45 UTC +00:00]]  (2.2ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 15:57:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 15:57:00 UTC +00:00]]  (2.0ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 15:58:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 15:58:01 UTC +00:00]]  (2.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (3.1ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:01:17 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:01:17 UTC +00:00]]  (2.0ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:03:08 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:03:08 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.2ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:06:33 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:06:33 UTC +00:00]]  (1.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:07:36 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:07:36 UTC +00:00]]  (2.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:07:54 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:07:54 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:08:13 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:08:13 UTC +00:00]]  (2.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:08:42 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:08:42 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (5.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:09:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:09:22 UTC +00:00]]  (2.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:09:30 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:09:30 UTC +00:00]]  (1.2ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:10:27 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:10:27 UTC +00:00]]  (2.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:10:42 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:10:42 UTC +00:00]]  (2.0ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" DESC LIMIT 1  (2.5ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:11:57 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:11:57 UTC +00:00]]  (2.1ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products"  (2.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:13:40 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:13:40 UTC +00:00]]  (1.9ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products"  (2.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:14:24 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:14:24 UTC +00:00]]  (2.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.6ms) SELECT "products".* FROM "products"  (3.3ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:14:44 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:14:44 UTC +00:00]]  (2.0ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products"  (2.4ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.0ms) DELETE FROM "products";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'products';  (1.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (5.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:15:17 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:15:17 UTC +00:00]]  (2.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products"  (2.1ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:16:58 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:16:58 UTC +00:00]]  (1.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products"  (1.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:17:17 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:17:17 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products"  (2.6ms) DELETE FROM "invoices";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.1ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.1ms) DELETE FROM "tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.0ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (5.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:18:07 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:18:07 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (7.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:18:44 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:18:44 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products"  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (5.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:20:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:20:01 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (5.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:23:27 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:23:27 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:25:02 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:25:02 UTC +00:00]]  (2.4ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:25:23 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:25:23 UTC +00:00]]  (2.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 4 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:26:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:26:00 UTC +00:00]]  (2.1ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 5 Forceps::Remote::Product Load (0.4ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.2ms) begin transaction SQL (4.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:27:33 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:27:33 UTC +00:00]]  (3.0ms) commit transaction SQL (1.1ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 6 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products" --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:30:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:30:01 UTC +00:00]]  (2.0ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 7 Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products"  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:30:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:30:28 UTC +00:00]]  (2.2ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:31:05 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:31:05 UTC +00:00]]  (2.3ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:31:13 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:31:13 UTC +00:00]]  (2.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:31:39 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:31:39 UTC +00:00]]  (2.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (3.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (17.4ms) DELETE FROM sqlite_sequence where name = 'users';  (5.2ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (1.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:32:45 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.6ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.4ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:32:46 UTC +00:00]]  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (2.2ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction  (1.0ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (1.1ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.8ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (21.3ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:33:28 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.0ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:33:29 UTC +00:00]]  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (2.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (2.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.8ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.7ms) commit transaction  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (3.0ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.2ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.0ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (23.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (5.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.3ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (3.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:06 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.0ms) begin transaction SQL (3.8ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (2.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (1.3ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (12.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (14.1ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (5.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:22 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.1ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (2.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.7ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.7ms) commit transaction  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (2.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (3.1ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.1ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:31 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.2ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (4.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (17.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (2.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.5ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:34:32 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (9.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:35:00 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.6ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.5ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 3  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (3, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.2ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.4ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 3]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 3]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (21.4ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (4.4ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (1.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (4.9ms) DELETE FROM "products_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:01 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (1.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (25.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (1.9ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.8ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.2ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "CAR: audi"], ["type", "Car"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (1.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.3ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.1ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.7ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (24.4ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (6.1ms) DELETE FROM "addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (1.2ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (1.6ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.8ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (1.1ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:17 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (3.2ms) DELETE FROM "products";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (8.0ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.4ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.9ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.5ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.4ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (23.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.8ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (4.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:55 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------- StiTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:35:56 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (2.1ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (1.3ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.5ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (3.3ms) commit transaction Forceps::Remote::Product Load (0.3ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.6ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.5ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (13.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (3.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:37:30 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (1.0ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (1.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------- StiTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:37:31 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:37:31 UTC +00:00]]  (0.6ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (6.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (6.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:38:16 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:38:16 UTC +00:00]]  (2.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:38:16 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:38:16 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.2ms) begin transaction SQL (4.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:38:21 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:38:21 UTC +00:00]]  (0.9ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.4ms) begin transaction SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:38:21 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:38:21 UTC +00:00]]  (2.4ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.9ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:39:42 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:39:42 UTC +00:00]]  (2.9ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:39:42 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:39:42 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.4ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:40:32 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:40:32 UTC +00:00]]  (2.6ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:40:32 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:40:32 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:25 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:25 UTC +00:00]]  (2.8ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:25 UTC +00:00], ["name", "audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:42:25 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (4.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:35 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:35 UTC +00:00]]  (2.3ms) commit transaction SQL (1.0ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:35 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:42:35 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00]]  (2.9ms) commit transaction SQL (0.9ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.9ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:47 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.4ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (2.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.4ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.4ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (1.9ms) DELETE FROM "invoices";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (21.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (5.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.9ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.7ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (2.1ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------- StiTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:42:48 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------- CallbacksTest: test_should_invoke_the_configured_'after_each'_callback ----------------------------------------------------------------------  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (3.4ms) commit transaction SQL (0.8ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct') AND "products"."id" = 123456 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 123456]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (1.0ms) commit transaction Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1 Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]] Forceps::Remote::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.9ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------- CloneStructuresTest: test_should_download_a_single_record ---------------------------------------------------------  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 123 LIMIT 1  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------ CloneStructuresTest: test_should_download_object_with_'belongs_to' ------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Fri, 03 Jan 2014], ["number", 1234], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."number" = 1234 LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_many' ----------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 2]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.8ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."invoice_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["invoice_id", 3]] Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 RemoteInvoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]] Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? [["user_id", 1]]  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------- CloneStructuresTest: test_should_download_object_with_'has_one' ---------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."user_id" = ? ORDER BY "invoices"."id" ASC LIMIT 1000 [["user_id", 1]] Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "country", "created_at", "street", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["city", "Oviedo"], ["country", "Spain"], ["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.7ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; -------------------------------------------------------------------------------- CloneStructuresTest: test_should_download_objects_with_'has_and_belongs_to_many' --------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Sat, 25 Jan 2014], ["number", 123], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "product 0"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "product 1"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction SQL (0.7ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 2  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.7ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 2)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.8ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.0ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 0"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "product 0"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 1]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (1, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "tag 1"]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? ORDER BY "products"."id" ASC LIMIT 1000 [["tag_id", 2]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("tag_id", "product_id") VALUES (2, 1)  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "product 1"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 2]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 1 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.2ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 1)  (0.7ms) commit transaction Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 2]]  (0.0ms) begin transaction  (0.1ms) INSERT INTO "products_tags" ("product_id", "tag_id") VALUES (2, 2)  (0.6ms) commit transaction Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 2]] Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? AND "tags"."id" = 2 LIMIT 1 [["product_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 1 LIMIT 1 [["tag_id", 1]] Product Exists (0.1ms) SELECT 1 AS one FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? AND "products"."id" = 2 LIMIT 1 [["tag_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "products"  (0.1ms) SELECT COUNT(*) FROM "tags" Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 0' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 0' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 1]] Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."name" = 'tag 1' LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'product 1' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "products" INNER JOIN "products_tags" ON "products"."id" = "products_tags"."product_id" WHERE "products_tags"."tag_id" = ? [["tag_id", 2]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_all_the_associations_when_using_:all_associations_as_the_the_'exclude'_option_value ---------------------------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["user_id", 1]]  (0.5ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.4ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ---------------------------------------------------------------------------------- ExcludeRecordsTest: test_should_exclude_regular_attributes_in_the_'exclude'_option ----------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "addresses" ("city", "created_at", "street", "updated_at") VALUES (?, ?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["street", "Uria"], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "addresses" ("city", "created_at", "updated_at") VALUES (?, ?, ?) [["city", "Oviedo"], ["created_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:43:09 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."city" = 'Oviedo' LIMIT 1  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (21.0ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (4.3ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.7ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------ ExcludeRecordsTest: test_should_exclude_the_associations_set_in_the_'exclude'_option ------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["date", Wed, 01 Jan 2014], ["number", 1], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["user_id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "invoices" ("created_at", "date", "number", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["date", Thu, 02 Jan 2014], ["number", 2], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["user_id", 1]]  (0.4ms) commit transaction Forceps::Remote::User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "Jorge"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]] Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["user_id", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'Jorge' LIMIT 1 Invoice Exists (0.1ms) SELECT 1 AS one FROM "invoices" WHERE "invoices"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_clone_the_object_when_it_is_not_found ---------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."price" = 0 LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "price", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "MBP"], ["price", 2000], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "line_items" SET "product_id" = ? WHERE "line_items"."id" = 1 [["product_id", 123457]]  (0.7ms) commit transaction Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 123456]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123457]]  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.7ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------- ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_finder -------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.2ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.8ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'MBP' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.7ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.7ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------------------------------------ ReuseExistingRecordsTest: test_should_reuse_the_referenced_project_when_specifying_a_matching_attribute_name ------------------------------------------------------------------------------------------------------------  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "id", "name", "price", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 2000], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.7ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = NULL WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 123456  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "products" ("created_at", "id", "name", "price", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["id", 123456], ["name", "MBP"], ["price", 1000], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.6ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "line_items" ("created_at", "product_id", "quantity", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["product_id", 123456], ["quantity", 3], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.7ms) commit transaction Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = 123456 ORDER BY "products"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "products" SET "price" = ?, "created_at" = ?, "updated_at" = ? WHERE "products"."id" = 123456 [["price", 2000], ["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "products" LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."quantity" = 3 LIMIT 1 Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? ORDER BY "products"."id" ASC LIMIT 1 [["id", 123456]]  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.6ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'products';  (0.6ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.6ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.8ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.8ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; ------------------------------------------------------------------------------- StiTest: test_should_download_child_objects_when_using_single_table_inheritance -------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "CAR: audi"], ["type", "Forceps::Remote::Car"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.5ms) commit transaction Forceps::Remote::LineItem Load (0.1ms) SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = ? ORDER BY "line_items"."id" ASC LIMIT 1000 [["product_id", 1]] Forceps::Remote::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "products_tags" ON "tags"."id" = "products_tags"."tag_id" WHERE "products_tags"."product_id" = ? ORDER BY "tags"."id" ASC LIMIT 1000 [["product_id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'CAR: audi' LIMIT 1  (0.8ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (1.2ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.9ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.7ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags'; --------------------------------------------------------------------------------------------------------- StiTest: test_should_instantiate_the_proper_remote_record_when_fetching_a_record_through_the_parent_class ---------------------------------------------------------------------------------------------------------  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00], ["name", "audi"], ["type", "RemoteProduct"], ["updated_at", Sat, 25 Jan 2014 16:43:10 UTC +00:00]]  (0.6ms) commit transaction SQL (0.6ms) UPDATE "products" SET "type" = 'Car' WHERE "products"."type" IN ('RemoteProduct', 'Forceps::Remote::RemoteProduct') AND "products"."id" = 1 Forceps::Remote::Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'audi' LIMIT 1  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.6ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'products';  (0.5ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.5ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.5ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';  (0.5ms) DELETE FROM "invoices";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'invoices';  (0.5ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) DELETE FROM "line_items";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'line_items';  (0.5ms) DELETE FROM "products";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';  (0.8ms) DELETE FROM "addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'addresses';  (0.8ms) DELETE FROM "products_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'products_tags';  (0.6ms) DELETE FROM "tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';